< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03030107.xhp

(section: cdatetoiso) (bookmark: bm_id3150620)
CdateToIso function

CdateToIso 関数

CDateToIso Function [Runtime]
CDateToIso 関数 [実行時](hd_id3150620.1)

Returns the date in ISO format from a serial date number that is generated by the DateSerial or the DateValue function.
DateSerial ないし DateValue 関数による日付データのシリアル変換値を基に、該当する日付を ISO 形式で返します。(par_id3151097.2)

(/section: cdatetoiso)

Syntax:
構文:(hd_id3159224.3)

CDateToIso(Number)
CDateToIso(Number)(par_id3149497.4)

Return value:
戻り値:(hd_id3152347.5)

String
文字列(par_id3154422.6)

Parameters:
パラメータ:(hd_id3147303.7)

Number: Integer that contains the serial date number.
数値:日付データのシリアル変換値を示す数値表式。(par_id3145136.8)

(embed text/sbasic/shared/00000003.xhp#errorcode : linkinfo)

Error Codes

エラーコード(hd_id3152869.37)

(/embed text/sbasic/shared/00000003.xhp#errorcode)

(embed text/sbasic/shared/00000003.xhp#err5 : linkinfo)

5 Invalid procedure call
5 無効なプロシージャー呼び出しです (par_id3150891.41)

(/embed text/sbasic/shared/00000003.xhp#err5)

Example:
例:(hd_id3147243.9)

Sub ExampleCDateToIso
Sub ExampleCDateToIso(par_id3156152.10)

MsgBox "" & CDateToIso(Now) ,64,"ISO Date"
MsgBox "" & CDateToIso(Now) ,64,"ISO Date"(par_id3153126.11)

End Sub
End Sub(par_id3143228.12)


< Prev / Next >